package com.itheima.activities.service;

import com.itheima.entity.dto.RedPacketDto;
import com.itheima.entity.pojo.RedPacket;
import com.itheima.entity.pojo.RedPacketList;
import com.itheima.entity.vo.RedPacketVo;

import java.util.List;
import java.util.Set;

/**
 * @author :wujunjie
 * createTime :2022-12-19 15:52
 * description :
 */
public interface RedPacketService {
    Boolean insertRedPacket(RedPacketDto redPacketDto);

    List<RedPacketList> selectRedPacketListsByStatusAndTime();


    Boolean updateRedPacketListStatus(List<RedPacketList> redPacketLists);

    RedPacketList getRedPacketList(String redPacketId);

    List<RedPacketVo> getAllRedPacket();

    List<RedPacket> selectRedPacketByStatusAndTime();

    Boolean updateRedPacketStatus(Set<String> ids, Integer status);
}
